package com.hxzy.cms.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 
 * 专题表
 */
@Data
@ApiModel(value = "专题表模型")
@TableName(value = "cms_subject")
public class CmsSubject implements Serializable {

    @ApiModelProperty(value = "主键自增")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 分类
     */
    @ApiModelProperty(value = "分类编号")
    @TableField(value = "category_id")
    private Long categoryId;

    /**
     * 标题
     */

    @ApiModelProperty(value = "标题")
    @TableField(value = "title")
    private String title;

    /**
     * 专题主图
     */
    private String pic;

    /**
     * 关联产品数量
     */
    private Integer productCount;

    /**
     * 推荐
     */
    private Integer recommendStatus;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 收藏量
     */
    private Integer collectCount;

    /**
     * 点击量
     */
    private Integer readCount;

    /**
     * 评论量
     */
    private Integer commentCount;

    /**
     * 画册图片用逗号分割
     */
    private String albumPics;

    /**
     * 描述
     */
    private String description;

    /**
     * 显示状态：0->不显示；1->显示
     */
    private Integer showStatus;

    /**
     * 转发数
     */
    private Integer forwardCount;

    /**
     * 专题分类名称
     */
    private String categoryName;

    /**
     * 内容
     */
    private String content;

    private static final long serialVersionUID = 1L;
}